<!DOCTYPE html>

<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>背景颜色和背景图片</title>

        <style type="text/css">

            body {
                background-color: #dedede ;
                border: 1px solid red ;
            }

            .wrapper {
                width: 80% ;
                height: 400px ;
                background-image: url( liuyifei.jpg );
                border: 1px solid blue ;
            }
            
        </style>

    </head>
    <body>

        <h3>背景颜色和背景图片</h3>

        <div class="wrapper"></div>
        
    </body>
</html>